﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Collections.Specialized;
using Com.Common.Cms;
namespace Com.Controllers.Cms.Filters
{
    public class ScriptFilter : ActionFilterAttribute
    {
        // 摘要:
        //     Called by the ASP.NET MVC framework after the action method executes.
        //
        // 参数:
        //   filterContext:
        //     The filter context.
        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {

        }
        //
        // 摘要:
        //     Called by the ASP.NET MVC framework before the action method executes.
        //
        // 参数:
        //   filterContext:
        //     The filter context.
        public override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            //StringBoy.ClearGarbage(values[j].ToLower(), new String[] { "<[^>]+script[^>]+>", "</[^>]+script[^>]>" });

        }
        //
        // 摘要:
        //     Called by the ASP.NET MVC framework after the action result executes.
        //
        // 参数:
        //   filterContext:
        //     The filter context.
        public override void OnResultExecuted(ResultExecutedContext filterContext)
        {

        }
        //
        // 摘要:
        //     Called by the ASP.NET MVC framework before the action result executes.
        //
        // 参数:
        //   filterContext:
        //     The filter context.
        public override void OnResultExecuting(ResultExecutingContext filterContext) { }

    }
}
